<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: R:/Develop/a0-develop/LibQQt/src/exquisite/qrcode/qrencode/qrencode.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_14bafaf81b4d5a7e53bf81c33f47f3f2.html">exquisite</a></li><li class="navelem"><a class="el" href="dir_4653d68db7f6be9ae8b828dd23d15f2b.html">qrcode</a></li><li class="navelem"><a class="el" href="dir_35da48ad7404ac0d1017a68e9e40950c.html">qrencode</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">qrencode.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="preprocessor">#ifndef __QRENCODE_H__</span></div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="preprocessor">#define __QRENCODE_H__</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="preprocessor">#if defined(__cplusplus)</span></div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;{</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    QR_MODE_NUL = -1,  </div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    QR_MODE_NUM = 0,   </div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    QR_MODE_AN,        </div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    QR_MODE_8,         </div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    QR_MODE_KANJI,     </div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    QR_MODE_STRUCTURE, </div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    QR_MODE_ECI,       </div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;    QR_MODE_FNC1FIRST,  </div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    QR_MODE_FNC1SECOND, </div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;} QRencodeMode;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span></div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;{</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    QR_ECLEVEL_L = 0, </div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    QR_ECLEVEL_M,</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    QR_ECLEVEL_Q,</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    QR_ECLEVEL_H      </div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;} QRecLevel;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="preprocessor">#define QRSPEC_VERSION_MAX 40</span></div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="preprocessor">#define MQRSPEC_VERSION_MAX 4</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="comment"> * Input data (qrinput.c)</span></div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct___q_rinput.html">_QRinput</a> <a class="code" href="struct___q_rinput.html">QRinput</a>;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct___q_rinput.html">QRinput</a>* QRinput_new(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct___q_rinput.html">QRinput</a>* QRinput_new2(<span class="keywordtype">int</span> version, QRecLevel level);</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct___q_rinput.html">QRinput</a>* QRinput_newMQR(<span class="keywordtype">int</span> version, QRecLevel level);</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> QRinput_append(<a class="code" href="struct___q_rinput.html">QRinput</a>* input, QRencodeMode mode, <span class="keywordtype">int</span> size, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* data);</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> QRinput_appendECIheader(<a class="code" href="struct___q_rinput.html">QRinput</a>* input, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> ecinum);</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> QRinput_getVersion(<a class="code" href="struct___q_rinput.html">QRinput</a>* input);</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> QRinput_setVersion(<a class="code" href="struct___q_rinput.html">QRinput</a>* input, <span class="keywordtype">int</span> version);</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;<span class="keyword">extern</span> QRecLevel QRinput_getErrorCorrectionLevel(<a class="code" href="struct___q_rinput.html">QRinput</a>* input);</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> QRinput_setErrorCorrectionLevel(<a class="code" href="struct___q_rinput.html">QRinput</a>* input, QRecLevel level);</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> QRinput_setVersionAndErrorCorrectionLevel(<a class="code" href="struct___q_rinput.html">QRinput</a>* input, <span class="keywordtype">int</span> version, QRecLevel level);</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> QRinput_free(<a class="code" href="struct___q_rinput.html">QRinput</a>* input);</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> QRinput_check(QRencodeMode mode, <span class="keywordtype">int</span> size, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* data);</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct___q_rinput___struct.html">_QRinput_Struct</a> <a class="code" href="struct___q_rinput___struct.html">QRinput_Struct</a>;</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;</div><div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct___q_rinput___struct.html">QRinput_Struct</a>* QRinput_Struct_new(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> QRinput_Struct_setParity(<a class="code" href="struct___q_rinput___struct.html">QRinput_Struct</a>* s, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> parity);</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> QRinput_Struct_appendInput(<a class="code" href="struct___q_rinput___struct.html">QRinput_Struct</a>* s, <a class="code" href="struct___q_rinput.html">QRinput</a>* input);</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> QRinput_Struct_free(<a class="code" href="struct___q_rinput___struct.html">QRinput_Struct</a>* s);</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct___q_rinput___struct.html">QRinput_Struct</a>* QRinput_splitQRinputToStruct(<a class="code" href="struct___q_rinput.html">QRinput</a>* input);</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> QRinput_Struct_insertStructuredAppendHeaders(<a class="code" href="struct___q_rinput___struct.html">QRinput_Struct</a>* s);</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> QRinput_setFNC1First(<a class="code" href="struct___q_rinput.html">QRinput</a>* input);</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> QRinput_setFNC1Second(<a class="code" href="struct___q_rinput.html">QRinput</a>* input, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> appid);</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;<span class="comment"> * QRcode output (qrencode.c)</span></div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;</div><div class="line"><a name="l00377"></a><span class="lineno"><a class="line" href="struct_q_rcode.html">  377</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span></div><div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;{</div><div class="line"><a name="l00379"></a><span class="lineno"><a class="line" href="struct_q_rcode.html#aa84ee8368a0cb437726e4eb4497784c0">  379</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct_q_rcode.html#aa84ee8368a0cb437726e4eb4497784c0">version</a>;         </div><div class="line"><a name="l00380"></a><span class="lineno"><a class="line" href="struct_q_rcode.html#a70faea92be5450849d2252f286fc4cb2">  380</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct_q_rcode.html#a70faea92be5450849d2252f286fc4cb2">width</a>;           </div><div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="struct_q_rcode.html#ae6f826314cfb99f4926c4c5734997c35">  381</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* <a class="code" href="struct_q_rcode.html#ae6f826314cfb99f4926c4c5734997c35">data</a>; </div><div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;} <a class="code" href="struct_q_rcode.html">QRcode</a>;</div><div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;</div><div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="struct___q_rcode___list.html">  388</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct___q_rcode___list.html">_QRcode_List</a></div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;{</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;    <a class="code" href="struct_q_rcode.html">QRcode</a>* code;</div><div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;    <span class="keyword">struct </span><a class="code" href="struct___q_rcode___list.html">_QRcode_List</a>* next;</div><div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;} <a class="code" href="struct___q_rcode___list.html">QRcode_List</a>;</div><div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;</div><div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct_q_rcode.html">QRcode</a>* QRcode_encodeInput(<a class="code" href="struct___q_rinput.html">QRinput</a>* input);</div><div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;</div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct_q_rcode.html">QRcode</a>* QRcode_encodeString(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keywordtype">string</span>, <span class="keywordtype">int</span> version, QRecLevel level, QRencodeMode hint,</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;                                   <span class="keywordtype">int</span> casesensitive);</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;</div><div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct_q_rcode.html">QRcode</a>* QRcode_encodeString8bit(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keywordtype">string</span>, <span class="keywordtype">int</span> version, QRecLevel level);</div><div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;</div><div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct_q_rcode.html">QRcode</a>* QRcode_encodeStringMQR(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keywordtype">string</span>, <span class="keywordtype">int</span> version, QRecLevel level, QRencodeMode hint,</div><div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;                                      <span class="keywordtype">int</span> casesensitive);</div><div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;</div><div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct_q_rcode.html">QRcode</a>* QRcode_encodeString8bitMQR(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keywordtype">string</span>, <span class="keywordtype">int</span> version, QRecLevel level);</div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;</div><div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct_q_rcode.html">QRcode</a>* QRcode_encodeData(<span class="keywordtype">int</span> size, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">int</span> version, QRecLevel level);</div><div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;</div><div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct_q_rcode.html">QRcode</a>* QRcode_encodeDataMQR(<span class="keywordtype">int</span> size, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">int</span> version, QRecLevel level);</div><div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;</div><div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> QRcode_free(<a class="code" href="struct_q_rcode.html">QRcode</a>* qrcode);</div><div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct___q_rcode___list.html">QRcode_List</a>* QRcode_encodeInputStructured(<a class="code" href="struct___q_rinput___struct.html">QRinput_Struct</a>* s);</div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;</div><div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct___q_rcode___list.html">QRcode_List</a>* QRcode_encodeStringStructured(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keywordtype">string</span>, <span class="keywordtype">int</span> version, QRecLevel level, QRencodeMode hint,</div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;                                                  <span class="keywordtype">int</span> casesensitive);</div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;</div><div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct___q_rcode___list.html">QRcode_List</a>* QRcode_encodeString8bitStructured(<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keywordtype">string</span>, <span class="keywordtype">int</span> version, QRecLevel level);</div><div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;</div><div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct___q_rcode___list.html">QRcode_List</a>* QRcode_encodeDataStructured(<span class="keywordtype">int</span> size, <span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">int</span> version, QRecLevel level);</div><div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;</div><div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> QRcode_List_size(<a class="code" href="struct___q_rcode___list.html">QRcode_List</a>* qrlist);</div><div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;</div><div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> QRcode_List_free(<a class="code" href="struct___q_rcode___list.html">QRcode_List</a>* qrlist);</div><div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;</div><div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;</div><div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;<span class="comment">/******************************************************************************</span></div><div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;<span class="comment"> * System utilities</span></div><div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;<span class="comment"> *****************************************************************************/</span></div><div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;</div><div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> QRcode_APIVersion(<span class="keywordtype">int</span>* major_version, <span class="keywordtype">int</span>* minor_version, <span class="keywordtype">int</span>* micro_version);</div><div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;</div><div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">char</span>* QRcode_APIVersionString(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;</div><div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> QRcode_clearCache(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;</div><div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;<span class="preprocessor">#if defined(__cplusplus)</span></div><div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;}</div><div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;</div><div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* __QRENCODE_H__ */</span><span class="preprocessor"></span></div><div class="ttc" id="struct_q_rcode_html"><div class="ttname"><a href="struct_q_rcode.html">QRcode</a></div><div class="ttdef"><b>Definition:</b> qrencode.h:377</div></div>
<div class="ttc" id="struct___q_rinput_html"><div class="ttname"><a href="struct___q_rinput.html">_QRinput</a></div><div class="ttdef"><b>Definition:</b> qrinput.h:47</div></div>
<div class="ttc" id="struct___q_rinput___struct_html"><div class="ttname"><a href="struct___q_rinput___struct.html">_QRinput_Struct</a></div><div class="ttdef"><b>Definition:</b> qrinput.h:69</div></div>
<div class="ttc" id="struct___q_rcode___list_html"><div class="ttname"><a href="struct___q_rcode___list.html">_QRcode_List</a></div><div class="ttdef"><b>Definition:</b> qrencode.h:388</div></div>
<div class="ttc" id="struct_q_rcode_html_ae6f826314cfb99f4926c4c5734997c35"><div class="ttname"><a href="struct_q_rcode.html#ae6f826314cfb99f4926c4c5734997c35">QRcode::data</a></div><div class="ttdeci">unsigned char * data</div><div class="ttdoc">symbol data </div><div class="ttdef"><b>Definition:</b> qrencode.h:381</div></div>
<div class="ttc" id="struct_q_rcode_html_a70faea92be5450849d2252f286fc4cb2"><div class="ttname"><a href="struct_q_rcode.html#a70faea92be5450849d2252f286fc4cb2">QRcode::width</a></div><div class="ttdeci">int width</div><div class="ttdoc">width of the symbol </div><div class="ttdef"><b>Definition:</b> qrencode.h:380</div></div>
<div class="ttc" id="struct_q_rcode_html_aa84ee8368a0cb437726e4eb4497784c0"><div class="ttname"><a href="struct_q_rcode.html#aa84ee8368a0cb437726e4eb4497784c0">QRcode::version</a></div><div class="ttdeci">int version</div><div class="ttdoc">version of the symbol </div><div class="ttdef"><b>Definition:</b> qrencode.h:379</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
